package com.jiangnan.api.client

import com.jiangnan.api.service.DeepSeekApiService
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory

object DeepSeekApiServiceClient {
    private const val BASE_URL = "https://api.siliconflow.cn/"

    private val retrofit by lazy {
        Retrofit.Builder()
            .baseUrl(BASE_URL)
            .addConverterFactory(GsonConverterFactory.create())
            .build()
    }

    val api: DeepSeekApiService by lazy {
        retrofit.create(DeepSeekApiService::class.java)
    }
}
